import type { ContentModel } from "../discovery/integrated";

// 轮播图数据每一项
export interface swiperItemType {
    appAdvertiseUrl: string;
    backgroundColor: null;
    createTime: number;
    creator: "";
    id: string;
    link: string;
    linkMomentId: string;
    linkMomentSummary: string;
    pcAdvertiseUrl: string;
    position: string;
    positionDetail: [];
    title: string;
    updateTime: number;
    videoDuration: null;
}
// 轮播图列表
export type swiperListType = swiperItemType[];
// 轮播图请求返回数据
export type swiperReturnType = {
    content: swiperListType;
    value: string;
};

// 推荐数据列表
export type recommendListType = ContentModel[];
// 推荐数据返回值
export interface recommendReturnType {
    content: recommendListType;
    first: boolean;
    last: boolean;
    number: number;
    numberOfElements: number;
    size: string;
    sort: null;
    totalPages: number;
}

//兴趣标签每一项
export interface tagType {
    groupType: string;
    name: string;
    id: string;
}
// 兴趣标签列表
export type tagListType = tagType[];
// 兴趣标签返回值
export interface tagReturnType {
    content: tagListType;
    number: number;
    numberOfElements: number;
    size: string;
    sort: null;
    statistics: null;
    totalElements: number;
    totalPages: number;
    useOffset: boolean;
}
// 搜索兴趣列表每一项
export interface searchItem {
    groupType: string;
    name: string;
    description: string;
    id: string;
}
// 搜索兴趣列表
export type searchList = searchItem[];
// 搜索兴趣列表返回值
export interface searchReturn {
    content: searchList;
}
